package compare;

/**
 * @author : DuJiabao
 * @Date : 2021/1/21 23:39
 * @Project : java_learning
 * @File : null.java
 * @Desc :
 */
public class Goods {
    private double price;

    public Goods() {
    }

    public Goods(double price) {
        this.price = price;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "Goods{" +
                "price=" + price +
                '}';
    }
}
